#ifndef RENTGENDELEGATE_H
#define RENTGENDELEGATE_H

#include <QStyledItemDelegate>

class RentgenDelegate : public QStyledItemDelegate
{
//    Q_OBJECT
public:
    RentgenDelegate(QObject *parent = 0);
    ~RentgenDelegate();
    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
    QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
};

#endif // RENTGENDELEGATE_H
